package com.yunsom.testdemo.design.remark;

/**
 * @author Xbao
 * @version 1.0
 * @description 包含了要恢复对象的状态
 * @date 2021/3/8 14:31
 */
public class Memento {
  private String state;

  public Memento(String state) {
    this.state = state;
  }

  public String getState() {
    return state;
  }
}
